#include <stdio.h>

int main()
{
	int a = 0;
	scanf_s("%d", &a);
	for (a = 1; a < 100; a++)
	{
		printf("%d", a % 3 == 0);
			
	}

	return 0;
}